<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="format-detection" content="telephone=no,email=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge, chrome=1">
    <meta name="description" content="description of your site">
    <meta name="author" content="author of the site">
    <title>YApi 接口管理平台 </title>
    <link rel="shortcut icon" href="./images/favicon.ico" />
    <link rel="stylesheet" href="source/main.css" />
    
    
      
      <link rel="stylesheet" href="styles/theme.css" />
      
    
</head>
<body>
    <div class="ydoc">
        <header class="ydoc-header">
            <div class="ydoc-header-area">
                
                <a href="./index.html" class="navbar-brand"><img src="./images/logo_header@2x.png" /> &nbsp;YApi</a>
                
                <button class="ydocIcon navbar-toggle">&#xf020;</button>
                <nav class="ydoc-nav">
                    <ul class="navbar-left">
                         
                        <li class="">
                            
                            <a href="index.html"></a> 
                        </li>
                        
                        <li class="">
                            
                            <a href="usage.html">使用手册</a> 
                        </li>
                        
                        <li class="">
                            
                            <a href="devops.html">内网部署</a> 
                        </li>
                        
                        <li class="">
                            
                            <a href="plugin.html">插件 Wiki</a> 
                        </li>
                        
                        <li class="">
                            
                            <a href="qa.html">常见问题</a> 
                        </li>
                        
                        <li class="">
                            
                            <a href="releases.html">版本记录</a> 
                        </li>
                        
                        <li class="">
                            
                            <a href="http://yapi.demo.qunar.com/" target="_blank">demo 站点</a> 
                        </li>
                        
                        <li class="active">
                            
                            <a href="api.html"></a> 
                        </li>
                         
                    </ul>
                </nav>
            </div>
        </header>
        
        <!-- <header style="height:20px"></header> -->
        
        <!-- Docs page layout -->
        
        <div class="ydoc-banner-bg">
            <div class="ydoc-banner ">
                <div class="ydoc-banner-area">
                    <h1 >api</h1>
                    <p class="desc ">api文档</p>
                    
                </div>
            </div>
            

            <div class="ydoc-container">
                 
                <div class="ydoc-container-content ">
                    
                    
                    <div class="content-left staticsidenav" role="complementary">
                        <nav class="docs-sidebar hidden-print hidden-xs hidden-sm">
                            <ul class="nav docs-sidenav">
                                 
                                <!-- <li  > -->
                                <li >
                                    
                                    <a href="#group">group</a> 
                                </li>
                                   
                                <ul class="nav docs-sidenav-extend"  >
                                
                                    <li >
                                        <a href="#-group-get">/group/get</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-group-add">/group/add</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-group-add_member">/group/add_member</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-group-change_member_role">/group/change_member_role</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-group-get_member_list">/group/get_member_list</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-group-del_member">/group/del_member</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-group-list">/group/list</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-group-del">/group/del</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-group-up">/group/up</a>
                                    </li>
                                
                                </ul>
                                            
                                <!-- <li  > -->
                                <li >
                                    
                                    <a href="#user">user</a> 
                                </li>
                                   
                                <ul class="nav docs-sidenav-extend"  >
                                
                                    <li >
                                        <a href="#-user-login">/user/login</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-logout">/user/logout</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-up_study">/user/up_study</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-change_password">/user/change_password</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-reg">/user/reg</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-list">/user/list</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-find">/user/find</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-del">/user/del</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-update">/user/update</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-upload_avatar">/user/upload_avatar</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-avatar">/user/avatar</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-search">/user/search</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-user-project">/user/project</a>
                                    </li>
                                
                                </ul>
                                            
                                <!-- <li  > -->
                                <li >
                                    
                                    <a href="#project">project</a> 
                                </li>
                                   
                                <ul class="nav docs-sidenav-extend"  >
                                
                                    <li >
                                        <a href="#-project-add">/project/add</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-add_member">/project/add_member</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-del_member">/project/del_member</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-get_member_list">/project/get_member_list</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-get">/project/get</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-list">/project/list</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-del">/project/del</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-change_member_role">/project/change_member_role</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-upset">/project/upset</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-up">/project/up</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-up_env">/project/up_env</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-project-search">/project/search</a>
                                    </li>
                                
                                </ul>
                                            
                                <!-- <li  > -->
                                <li >
                                    
                                    <a href="#interface">interface</a> 
                                </li>
                                   
                                <ul class="nav docs-sidenav-extend"  >
                                
                                    <li >
                                        <a href="#-interface-add">/interface/add</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-interface-get">/interface/get</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-interface-list">/interface/list</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-interface-up">/interface/up</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-interface-del">/interface/del</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-interface-getCatMenu">/interface/getCatMenu</a>
                                    </li>
                                
                                </ul>
                                            
                                <!-- <li  > -->
                                <li >
                                    
                                    <a href="#follow">follow</a> 
                                </li>
                                   
                                <ul class="nav docs-sidenav-extend"  >
                                
                                    <li >
                                        <a href="#-follow-list">/follow/list</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-follow-del">/follow/del</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-follow-add">/follow/add</a>
                                    </li>
                                
                                </ul>
                                            
                                <!-- <li  > -->
                                <li >
                                    
                                    <a href="#col">col</a> 
                                </li>
                                   
                                <ul class="nav docs-sidenav-extend"  >
                                
                                    <li >
                                        <a href="#-col-list">/col/list</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-col-add_col">/col/add_col</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-col-case_list">/col/case_list</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-col-add_case">/col/add_case</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-col-up_case">/col/up_case</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-col-case">/col/case</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-col-up_col">/col/up_col</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-col-up_col_index">/col/up_col_index</a>
                                    </li>
                                     
                                    <li >
                                        <a href="#-col-del_col">/col/del_col</a>
                                    </li>
                                
                                </ul>
                                            
                                <!-- <li  > -->
                                <li >
                                    
                                    <a href="#log">log</a> 
                                </li>
                                   
                                <ul class="nav docs-sidenav-extend"  >
                                
                                    <li >
                                        <a href="#-log-list">/log/list</a>
                                    </li>
                                 
                                </ul>
                                  
                            </ul>
                        </nav>
                    </div>
                    
                    <div class="content-right markdown-body use-sidebar" role="main">

                         <div class="docs-section">

<h2 id="group" class="page-header subject">group<a class="hashlink" href="#group">#</a></h2>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-group-get" class="page-header subject">
            /group/get
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-group-get">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        查询项目分组
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/group.js.html#14" target="_blank">./server/controllers/group.js:14</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>String</td>
                <td>项目分组ID</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-group-add" class="page-header subject">
            /group/add
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-group-add">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        添加项目分组
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/group.js.html#44" target="_blank">./server/controllers/group.js:44</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>group_name</td>
                <td>String</td>
                <td>项目分组名称，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>group_desc</td>
                <td>String</td>
                <td>项目分组描述</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>owner_uids</td>
                <td>String</td>
                <td>组长[uid]</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">4</span><span class="token punctuation">,</span>
        <span class="token string">"group_name"</span><span class="token punctuation">:</span> <span class="token string">"大数据5"</span><span class="token punctuation">,</span>
        <span class="token string">"group_desc"</span><span class="token punctuation">:</span> <span class="token string">"大数据5"</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-group-add_member" class="page-header subject">
            /group/add_member
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-group-add_member">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        添加项目分组成员
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/group.js.html#144" target="_blank">./server/controllers/group.js:144</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>String</td>
                <td>项目分组id</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>member_uids</td>
                <td>String</td>
                <td>项目分组成员[uid]</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>role</td>
                <td>String</td>
                <td>成员角色，owner or dev or guest</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-group-change_member_role" class="page-header subject">
            /group/change_member_role
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-group-change_member_role">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        修改项目分组成员角色
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/group.js.html#218" target="_blank">./server/controllers/group.js:218</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>String</td>
                <td>项目分组id</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>member_uid</td>
                <td>String</td>
                <td>项目分组成员uid</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>role</td>
                <td>String</td>
                <td>权限 ['owner'|'dev']</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-group-get_member_list" class="page-header subject">
            /group/get_member_list
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-group-get_member_list">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取所有项目成员
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/group.js.html#271" target="_blank">./server/controllers/group.js:271</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>String</td>
                <td>项目分组id</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-group-del_member" class="page-header subject">
            /group/del_member
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-group-del_member">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        删除项目成员
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/group.js.html#297" target="_blank">./server/controllers/group.js:297</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>String</td>
                <td>项目分组id</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>member_uid</td>
                <td>String</td>
                <td>项目分组成员uid</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-group-list" class="page-header subject">
            /group/list
            
            <span class="ui-badge">get</span>
            
            
            <a class="hashlink" href="#-group-list">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取项目分组列表
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/group.js.html#348" target="_blank">./server/controllers/group.js:348</a>
    </p>
    
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
        <span class="token punctuation">{</span>
            <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
            <span class="token string">"group_name"</span><span class="token punctuation">:</span> <span class="token string">"大数据2"</span><span class="token punctuation">,</span>
            <span class="token string">"group_desc"</span><span class="token punctuation">:</span> <span class="token string">"大数据2"</span><span class="token punctuation">,</span>
            <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1499244581</span><span class="token punctuation">,</span>
            <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1499244581</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token punctuation">{</span>
            <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">2</span><span class="token punctuation">,</span>
            <span class="token string">"group_name"</span><span class="token punctuation">:</span> <span class="token string">"大数据3"</span><span class="token punctuation">,</span>
            <span class="token string">"group_desc"</span><span class="token punctuation">:</span> <span class="token string">"大数据3"</span><span class="token punctuation">,</span>
            <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1499244588</span><span class="token punctuation">,</span>
            <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1499244588</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token punctuation">{</span>
            <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">3</span><span class="token punctuation">,</span>
            <span class="token string">"group_name"</span><span class="token punctuation">:</span> <span class="token string">"大数据4"</span><span class="token punctuation">,</span>
            <span class="token string">"group_desc"</span><span class="token punctuation">:</span> <span class="token string">"大数据4"</span><span class="token punctuation">,</span>
            <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1499244652</span><span class="token punctuation">,</span>
            <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1499244652</span>
        <span class="token punctuation">}</span><span class="token punctuation">,</span>
        <span class="token punctuation">{</span>
            <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">4</span><span class="token punctuation">,</span>
            <span class="token string">"group_name"</span><span class="token punctuation">:</span> <span class="token string">"大数据5"</span><span class="token punctuation">,</span>
            <span class="token string">"group_desc"</span><span class="token punctuation">:</span> <span class="token string">"大数据5"</span><span class="token punctuation">,</span>
            <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1499328065</span><span class="token punctuation">,</span>
            <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1499328065</span>
        <span class="token punctuation">}</span>
    <span class="token punctuation">]</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-group-del" class="page-header subject">
            /group/del
            
            <span class="ui-badge">post</span>
            
            
            <a class="hashlink" href="#-group-del">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        删除项目分组
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/group.js.html#411" target="_blank">./server/controllers/group.js:411</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>String</td>
                <td>项目分组id</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"n"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"ok"</span><span class="token punctuation">:</span> <span class="token number">1</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-group-up" class="page-header subject">
            /group/up
            
            <span class="ui-badge">post</span>
            
            
            <a class="hashlink" href="#-group-up">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        更新项目分组
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/group.js.html#455" target="_blank">./server/controllers/group.js:455</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>String</td>
                <td>项目分组id</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>group_name</td>
                <td>String</td>
                <td>项目分组名称</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>group_desc</td>
                <td>String</td>
                <td>项目分组描述</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"n"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"nModified"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"ok"</span><span class="token punctuation">:</span> <span class="token number">1</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>


<h2 id="user" class="page-header subject">user<a class="hashlink" href="#user">#</a></h2>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-login" class="page-header subject">
            /user/login
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-user-login">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        用户登录接口
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#18" target="_blank">./server/controllers/user.js:18</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>email</td>
                <td>String</td>
                <td>email名称，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>password</td>
                <td>String</td>
                <td>密码，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"logout success..."</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">101</span><span class="token punctuation">,</span>
        <span class="token string">"email"</span><span class="token punctuation">:</span> <span class="token string">"admin@admin.com"</span><span class="token punctuation">,</span>
        <span class="token string">"username"</span><span class="token punctuation">:</span> <span class="token string">"admin"</span><span class="token punctuation">,</span>
        <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1499762848</span><span class="token punctuation">,</span>
        <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1499762848</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-logout" class="page-header subject">
            /user/logout
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-user-logout">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        退出登录接口
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#65" target="_blank">./server/controllers/user.js:65</a>
    </p>
    
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token string">"ok"</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-up_study" class="page-header subject">
            /user/up_study
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-user-up_study">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        退出登录接口
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#81" target="_blank">./server/controllers/user.js:81</a>
    </p>
    
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-change_password" class="page-header subject">
            /user/change_password
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-user-change_password">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        修改用户密码
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#186" target="_blank">./server/controllers/user.js:186</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>uid</td>
                <td>Number</td>
                <td>用户ID</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>old_password</td>
                <td>Number</td>
                <td>旧密码, 非admin用户必须传</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>password</td>
                <td>Number</td>
                <td>新密码</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" ><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"n"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"nModified"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"ok"</span><span class="token punctuation">:</span> <span class="token number">1</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span>
</code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-reg" class="page-header subject">
            /user/reg
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-user-reg">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        用户注册接口
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#264" target="_blank">./server/controllers/user.js:264</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>email</td>
                <td>String</td>
                <td>email名称，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>password</td>
                <td>String</td>
                <td>密码，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>username</td>
                <td>String</td>
                <td>用户名</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"logout success..."</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">101</span><span class="token punctuation">,</span>
        <span class="token string">"email"</span><span class="token punctuation">:</span> <span class="token string">"admin@admin.com"</span><span class="token punctuation">,</span>
        <span class="token string">"username"</span><span class="token punctuation">:</span> <span class="token string">"admin"</span><span class="token punctuation">,</span>
        <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1499762848</span><span class="token punctuation">,</span>
        <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1499762848</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-list" class="page-header subject">
            /user/list
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-user-list">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取用户列表
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#340" target="_blank">./server/controllers/user.js:340</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>page</td>
                <td>Number</td>
                <td>分页页码</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>limit</td>
                <td>Number</td>
                <td>分页大小,默认为10条</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-find" class="page-header subject">
            /user/find
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-user-find">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取用户个人信息
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#369" target="_blank">./server/controllers/user.js:369</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td></td>
                <td>用户uid</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-del" class="page-header subject">
            /user/del
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-user-del">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        删除用户,只有admin用户才有此权限
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#408" target="_blank">./server/controllers/user.js:408</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td></td>
                <td>用户uid</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-update" class="page-header subject">
            /user/update
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-user-update">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        更新用户个人信息
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#439" target="_blank">./server/controllers/user.js:439</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>uid</td>
                <td></td>
                <td>用户uid</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>role</td>
                <td></td>
                <td>用户角色,只有管理员有权限修改</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>username</td>
                <td></td>
                <td>String</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>email</td>
                <td></td>
                <td>String</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-upload_avatar" class="page-header subject">
            /user/upload_avatar
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-user-upload_avatar">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        上传用户头像
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#508" target="_blank">./server/controllers/user.js:508</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>basecode</td>
                <td>*</td>
                <td>base64编码，通过h5 api传给后端</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-avatar" class="page-header subject">
            /user/avatar
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-user-avatar">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        根据用户uid头像
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#551" target="_blank">./server/controllers/user.js:551</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>uid</td>
                <td>*</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-search" class="page-header subject">
            /user/search
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-user-search">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        模糊搜索用户名或者email
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#583" target="_blank">./server/controllers/user.js:583</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>q</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"ok"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
        <span class="token punctuation">{</span>
            <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">101</span><span class="token punctuation">,</span>
            <span class="token string">"email"</span><span class="token punctuation">:</span> <span class="token string">"admin@admin.com"</span><span class="token punctuation">,</span>
            <span class="token string">"role"</span><span class="token punctuation">:</span> <span class="token string">"admin"</span><span class="token punctuation">,</span>
            <span class="token string">"username"</span><span class="token punctuation">:</span> <span class="token string">"admin"</span><span class="token punctuation">,</span>
            <span class="token string">"addTime"</span><span class="token punctuation">:</span> <span class="token number">1499936103</span><span class="token punctuation">,</span>
            <span class="token string">"upTime"</span><span class="token punctuation">:</span> <span class="token number">1499936103</span>
        <span class="token punctuation">}</span>
    <span class="token punctuation">]</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-user-project" class="page-header subject">
            /user/project
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-user-project">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        根据路由id初始化项目数据
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/user.js.html#628" target="_blank">./server/controllers/user.js:628</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>type</td>
                <td>String</td>
                <td>可选group|interface|project</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>


<h2 id="project" class="page-header subject">project<a class="hashlink" href="#project">#</a></h2>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-add" class="page-header subject">
            /project/add
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-project-add">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        添加项目分组
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#45" target="_blank">./server/controllers/project.js:45</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>name</td>
                <td>String</td>
                <td>项目名称，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>basepath</td>
                <td>String</td>
                <td>项目基本路径，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>group_id</td>
                <td>Number</td>
                <td>项目分组id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>group_name</td>
                <td>Number</td>
                <td>项目分组名称，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>project_type</td>
                <td>String</td>
                <td>private public</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>desc</td>
                <td>String</td>
                <td>项目描述</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
        <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">8</span><span class="token punctuation">,</span>
        <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"project_a2"</span><span class="token punctuation">,</span>
        <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"tttttt"</span><span class="token punctuation">,</span>
        <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"project.a2.cc"</span><span class="token punctuation">,</span>
        <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"/a1"</span><span class="token punctuation">,</span>
        <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
        <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1499331387</span><span class="token punctuation">,</span>
        <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1499331387</span><span class="token punctuation">,</span>
        <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
            <span class="token number">0</span>
        <span class="token punctuation">]</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-add_member" class="page-header subject">
            /project/add_member
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-project-add_member">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        添加项目成员
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#148" target="_blank">./server/controllers/project.js:148</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>member_uid</td>
                <td>String</td>
                <td>项目成员uid,不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"n"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"ok"</span><span class="token punctuation">:</span> <span class="token number">1</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-del_member" class="page-header subject">
            /project/del_member
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-project-del_member">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        删除项目成员
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#230" target="_blank">./server/controllers/project.js:230</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>uid</td>
                <td>member_uid</td>
                <td>项目成员uid,不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"n"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"ok"</span><span class="token punctuation">:</span> <span class="token number">1</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-get_member_list" class="page-header subject">
            /project/get_member_list
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-project-get_member_list">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取项目成员列表
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#293" target="_blank">./server/controllers/project.js:293</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
        <span class="token punctuation">{</span>
            <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">101</span><span class="token punctuation">,</span>
            <span class="token string">"email"</span><span class="token punctuation">:</span> <span class="token string">"admin@admin.com"</span><span class="token punctuation">,</span>
            <span class="token string">"role"</span><span class="token punctuation">:</span> <span class="token string">"admin"</span><span class="token punctuation">,</span>
            <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1499932673</span><span class="token punctuation">,</span>
            <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1499932673</span>
        <span class="token punctuation">}</span>
    <span class="token punctuation">]</span>
<span class="token punctuation">}</span>
</code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-get" class="page-header subject">
            /project/get
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-project-get">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取项目信息
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#318" target="_blank">./server/controllers/project.js:318</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">7</span><span class="token punctuation">,</span>
        <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"project_a1"</span><span class="token punctuation">,</span>
        <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"tttttt"</span><span class="token punctuation">,</span>
        <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"project.a1.cc"</span><span class="token punctuation">,</span>
        <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"/a1"</span><span class="token punctuation">,</span>
        <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
        <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1499331378</span><span class="token punctuation">,</span>
        <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1499331378</span><span class="token punctuation">,</span>
        <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
        <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
            <span class="token number">0</span>
        <span class="token punctuation">]</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-list" class="page-header subject">
            /project/list
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-project-list">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取项目列表
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#357" target="_blank">./server/controllers/project.js:357</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>group_id</td>
                <td>Number</td>
                <td>项目group_id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"list"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">529</span><span class="token punctuation">,</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"yapi"</span><span class="token punctuation">,</span>
                <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"aaa"</span><span class="token punctuation">,</span>
                <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"http://www.yapi.com"</span><span class="token punctuation">,</span>
                <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"/a/"</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">107</span><span class="token punctuation">,</span>
                <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">181</span><span class="token punctuation">,</span>
                <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1500465369</span><span class="token punctuation">,</span>
                <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1500522419</span><span class="token punctuation">,</span>
                <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
                <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
                    <span class="token string">"107"</span>
                <span class="token punctuation">]</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">558</span><span class="token punctuation">,</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"12"</span><span class="token punctuation">,</span>
                <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"21\n"</span><span class="token punctuation">,</span>
                <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"http://11/"</span><span class="token punctuation">,</span>
                <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"12/"</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">107</span><span class="token punctuation">,</span>
                <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">181</span><span class="token punctuation">,</span>
                <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1500466250</span><span class="token punctuation">,</span>
                <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1500466250</span><span class="token punctuation">,</span>
                <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
                <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
                    <span class="token string">"107"</span>
                <span class="token punctuation">]</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">626</span><span class="token punctuation">,</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"1233"</span><span class="token punctuation">,</span>
                <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"123"</span><span class="token punctuation">,</span>
                <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"http://1234/"</span><span class="token punctuation">,</span>
                <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"1234/"</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">107</span><span class="token punctuation">,</span>
                <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">181</span><span class="token punctuation">,</span>
                <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1500471230</span><span class="token punctuation">,</span>
                <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1500471230</span><span class="token punctuation">,</span>
                <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
                <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
                    <span class="token string">"107"</span>
                <span class="token punctuation">]</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">665</span><span class="token punctuation">,</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"222"</span><span class="token punctuation">,</span>
                <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"222"</span><span class="token punctuation">,</span>
                <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"http://222/"</span><span class="token punctuation">,</span>
                <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"222/"</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">107</span><span class="token punctuation">,</span>
                <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">181</span><span class="token punctuation">,</span>
                <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1500471668</span><span class="token punctuation">,</span>
                <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1500471668</span><span class="token punctuation">,</span>
                <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
                <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
                    <span class="token string">"107"</span>
                <span class="token punctuation">]</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">704</span><span class="token punctuation">,</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"333"</span><span class="token punctuation">,</span>
                <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"222333"</span><span class="token punctuation">,</span>
                <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"http://333/"</span><span class="token punctuation">,</span>
                <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"333/"</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">107</span><span class="token punctuation">,</span>
                <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">181</span><span class="token punctuation">,</span>
                <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1500471674</span><span class="token punctuation">,</span>
                <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1500471674</span><span class="token punctuation">,</span>
                <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
                <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
                    <span class="token string">"107"</span>
                <span class="token punctuation">]</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">743</span><span class="token punctuation">,</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"444"</span><span class="token punctuation">,</span>
                <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"444"</span><span class="token punctuation">,</span>
                <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"https://444/"</span><span class="token punctuation">,</span>
                <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"444/"</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">107</span><span class="token punctuation">,</span>
                <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">181</span><span class="token punctuation">,</span>
                <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1500471695</span><span class="token punctuation">,</span>
                <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1500471695</span><span class="token punctuation">,</span>
                <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
                <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
                    <span class="token string">"107"</span>
                <span class="token punctuation">]</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">763</span><span class="token punctuation">,</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"122333"</span><span class="token punctuation">,</span>
                <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"3/"</span><span class="token punctuation">,</span>
                <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"http://33/"</span><span class="token punctuation">,</span>
                <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"33/"</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">107</span><span class="token punctuation">,</span>
                <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">181</span><span class="token punctuation">,</span>
                <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1500481743</span><span class="token punctuation">,</span>
                <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1500481743</span><span class="token punctuation">,</span>
                <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
                <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
                    <span class="token string">"107"</span>
                <span class="token punctuation">]</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">778</span><span class="token punctuation">,</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"555"</span><span class="token punctuation">,</span>
                <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"555"</span><span class="token punctuation">,</span>
                <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"https://555/"</span><span class="token punctuation">,</span>
                <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"555/"</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">107</span><span class="token punctuation">,</span>
                <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">181</span><span class="token punctuation">,</span>
                <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1500519203</span><span class="token punctuation">,</span>
                <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1500519203</span><span class="token punctuation">,</span>
                <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
                <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
                    <span class="token string">"107"</span>
                <span class="token punctuation">]</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">823</span><span class="token punctuation">,</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"5"</span><span class="token punctuation">,</span>
                <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"5"</span><span class="token punctuation">,</span>
                <span class="token string">"prd_host"</span><span class="token punctuation">:</span> <span class="token string">"http://5/"</span><span class="token punctuation">,</span>
                <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"5/"</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">107</span><span class="token punctuation">,</span>
                <span class="token string">"group_id"</span><span class="token punctuation">:</span> <span class="token number">181</span><span class="token punctuation">,</span>
                <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1500519769</span><span class="token punctuation">,</span>
                <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1500519769</span><span class="token punctuation">,</span>
                <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
                <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
                    <span class="token string">"107"</span>
                <span class="token punctuation">]</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">]</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-del" class="page-header subject">
            /project/del
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-project-del">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        删除项目
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#409" target="_blank">./server/controllers/project.js:409</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"n"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"ok"</span><span class="token punctuation">:</span> <span class="token number">1</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-change_member_role" class="page-header subject">
            /project/change_member_role
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-project-change_member_role">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        修改项目成员角色
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#445" target="_blank">./server/controllers/project.js:445</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>String</td>
                <td>项目id</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>member_uid</td>
                <td>String</td>
                <td>项目成员uid</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>role</td>
                <td>String</td>
                <td>权限 ['owner'|'dev']</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-upset" class="page-header subject">
            /project/upset
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-project-upset">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        项目设置
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#499" target="_blank">./server/controllers/project.js:499</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>icon</td>
                <td>String</td>
                <td>项目icon</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>color</td>
                <td>Array</td>
                <td>项目color</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">.</span><span class="token operator">/</span>api<span class="token operator">/</span>project<span class="token operator">/</span>upset</code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-up" class="page-header subject">
            /project/up
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-project-up">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        编辑项目
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#544" target="_blank">./server/controllers/project.js:544</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>name</td>
                <td>String</td>
                <td>项目名称，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>basepath</td>
                <td>String</td>
                <td>项目基本路径，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>desc</td>
                <td>String</td>
                <td>项目描述</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code">
<span class="token comment" spellcheck="true">//请求示例</span>
<span class="token punctuation">{</span>
    <span class="token string">"id"</span><span class="token punctuation">:</span> <span class="token number">8</span><span class="token punctuation">,</span>
    <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">{</span>
        <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"本地开发环境"</span><span class="token punctuation">,</span>
        <span class="token string">"domain"</span><span class="token punctuation">:</span> <span class="token string">"http://api.quar.com"</span>
    <span class="token punctuation">}</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
    <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"yapi项目"</span>
<span class="token punctuation">}</span>

<span class="token comment" spellcheck="true">//返回示例</span>
<span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"n"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"ok"</span><span class="token punctuation">:</span> <span class="token number">1</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-up_env" class="page-header subject">
            /project/up_env
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-project-up_env">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        编辑项目
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#625" target="_blank">./server/controllers/project.js:625</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>env</td>
                <td>Array</td>
                <td>项目环境配置</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>env[].name</td>
                <td>String</td>
                <td>环境名称</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>env[].domain</td>
                <td>String</td>
                <td>环境域名</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-project-search" class="page-header subject">
            /project/search
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-project-search">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        模糊搜索项目名称或者组名称
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/project.js.html#675" target="_blank">./server/controllers/project.js:675</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>q</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"ok"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"project"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">101</span><span class="token punctuation">,</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"qav_project"</span><span class="token punctuation">,</span>
                <span class="token string">"prdHost"</span><span class="token punctuation">:</span> <span class="token string">"xxx.qunar.com:8080"</span><span class="token punctuation">,</span>
                <span class="token string">"basepath"</span><span class="token punctuation">:</span> <span class="token string">"/qav/"</span><span class="token punctuation">,</span>
                <span class="token string">"addTime"</span><span class="token punctuation">:</span> <span class="token number">1500013365</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">101</span><span class="token punctuation">,</span>
                <span class="token string">"upTime"</span><span class="token punctuation">:</span> <span class="token number">1500013365</span><span class="token punctuation">,</span>
                <span class="token string">"env"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span><span class="token punctuation">]</span><span class="token punctuation">,</span>
                <span class="token string">"members"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
                    <span class="token string">"101"</span>
                <span class="token punctuation">]</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">]</span><span class="token punctuation">,</span>
        <span class="token string">"group"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
            <span class="token punctuation">{</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">193</span><span class="token punctuation">,</span>
                <span class="token string">"groupName"</span><span class="token punctuation">:</span> <span class="token string">"qav"</span><span class="token punctuation">,</span>
                <span class="token string">"groupDesc"</span><span class="token punctuation">:</span> <span class="token string">"project qav"</span><span class="token punctuation">,</span>
                <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
                <span class="token string">"addTime"</span><span class="token punctuation">:</span> <span class="token number">1500013066</span><span class="token punctuation">,</span>
                <span class="token string">"upTime"</span><span class="token punctuation">:</span> <span class="token number">1500013066</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">]</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>


<h2 id="interface" class="page-header subject">interface<a class="hashlink" href="#interface">#</a></h2>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-interface-add" class="page-header subject">
            /interface/add
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-interface-add">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        添加项目分组
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interface.js.html#22" target="_blank">./server/controllers/interface.js:22</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>project_id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>title</td>
                <td>String</td>
                <td>接口标题，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>path</td>
                <td>String</td>
                <td>接口请求路径，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>method</td>
                <td>String</td>
                <td>请求方式</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers</td>
                <td>Array</td>
                <td>请求的header信息</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers[].name</td>
                <td>String</td>
                <td>请求的header信息名</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers[].value</td>
                <td>String</td>
                <td>请求的header信息值</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers[].required</td>
                <td>Boolean</td>
                <td>是否是必须，默认为否</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers[].desc</td>
                <td>String</td>
                <td>header描述</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_type</td>
                <td>String</td>
                <td>请求参数方式，有["form", "json", "text", "xml"]四种</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_params</td>
                <td>Array</td>
                <td>name, desc两个参数</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_form</td>
                <td>Mixed</td>
                <td>请求参数,如果请求方式是form，参数是Array数组，其他格式请求参数是字符串</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_form[].name</td>
                <td>String</td>
                <td>请求参数名</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_form[].value</td>
                <td>String</td>
                <td>请求参数值，可填写生成规则（mock）。如@email，随机生成一条email</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_form[].type</td>
                <td>String</td>
                <td>请求参数类型，有["text", "file"]两种</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_other</td>
                <td>String</td>
                <td>非form类型的请求参数可保存到此字段</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>res_body_type</td>
                <td>String</td>
                <td>相应信息的数据格式，有["json", "text", "xml"]三种</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>res_body</td>
                <td>String</td>
                <td>响应信息，可填写任意字符串，如果res_body_type是json,则会调用mock功能</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>desc</td>
                <td>String</td>
                <td>接口描述</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code">
<span class="token comment" spellcheck="true">//请求  /interface/add</span>
<span class="token comment" spellcheck="true">//header Content-Type:application/json</span>

<span class="token punctuation">{</span>
   <span class="token string">"title"</span><span class="token punctuation">:</span> <span class="token string">"testapi"</span><span class="token punctuation">,</span>
   <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"api"</span><span class="token punctuation">,</span>
   <span class="token string">"method"</span><span class="token punctuation">:</span> <span class="token string">"post"</span><span class="token punctuation">,</span>
   <span class="token string">"path"</span><span class="token punctuation">:</span> <span class="token string">"/testapi"</span><span class="token punctuation">,</span>
   <span class="token string">"project_id"</span><span class="token punctuation">:</span> <span class="token number">8</span><span class="token punctuation">,</span>
   <span class="token string">"req_headers"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
      <span class="token punctuation">{</span>
         <span class="token string">"key"</span><span class="token punctuation">:</span> <span class="token string">"h"</span><span class="token punctuation">,</span>
         <span class="token string">"value"</span><span class="token punctuation">:</span> <span class="token string">"t"</span>
      <span class="token punctuation">}</span>
   <span class="token punctuation">]</span><span class="token punctuation">,</span>
   <span class="token string">"req_params_type"</span><span class="token punctuation">:</span> <span class="token string">"form"</span><span class="token punctuation">,</span>
   <span class="token string">"req_params"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
      <span class="token punctuation">{</span>
         <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"uid"</span><span class="token punctuation">,</span>
         <span class="token string">"value"</span><span class="token punctuation">:</span> <span class="token number">100</span><span class="token punctuation">,</span>
         <span class="token string">"type"</span><span class="token punctuation">:</span> <span class="token string">"text"</span>
      <span class="token punctuation">}</span><span class="token punctuation">,</span>
     <span class="token punctuation">{</span>
         <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"gid"</span><span class="token punctuation">,</span>
         <span class="token string">"value"</span><span class="token punctuation">:</span> <span class="token number">1001</span><span class="token punctuation">,</span>
         <span class="token string">"type"</span><span class="token punctuation">:</span> <span class="token string">"text"</span>
      <span class="token punctuation">}</span>
   <span class="token punctuation">]</span><span class="token punctuation">,</span>
   <span class="token string">"res_body_type"</span><span class="token punctuation">:</span> <span class="token string">"json"</span><span class="token punctuation">,</span>
   <span class="token string">"res_body"</span><span class="token punctuation">:</span> <span class="token string">"{\"tt\": 222}"</span>
<span class="token punctuation">}</span>

<span class="token comment" spellcheck="true">//返回结果</span>
<span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"__v"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
        <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token number">422</span><span class="token punctuation">,</span>
        <span class="token string">"title"</span><span class="token punctuation">:</span> <span class="token string">"testapi"</span><span class="token punctuation">,</span>
        <span class="token string">"project_id"</span><span class="token punctuation">:</span> <span class="token number">8</span><span class="token punctuation">,</span>
        <span class="token string">"path"</span><span class="token punctuation">:</span> <span class="token string">"/testapi"</span><span class="token punctuation">,</span>
        <span class="token string">"desc"</span><span class="token punctuation">:</span> <span class="token string">"api"</span><span class="token punctuation">,</span>
        <span class="token string">"method"</span><span class="token punctuation">:</span> <span class="token string">"post"</span><span class="token punctuation">,</span>
        <span class="token string">"req_params_type"</span><span class="token punctuation">:</span> <span class="token string">"form"</span><span class="token punctuation">,</span>
        <span class="token string">"res_body"</span><span class="token punctuation">:</span> <span class="token string">"{\"tt\": 222}"</span><span class="token punctuation">,</span>
        <span class="token string">"res_body_type"</span><span class="token punctuation">:</span> <span class="token string">"json"</span><span class="token punctuation">,</span>
        <span class="token string">"uid"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
        <span class="token string">"add_time"</span><span class="token punctuation">:</span> <span class="token number">1499658569</span><span class="token punctuation">,</span>
        <span class="token string">"up_time"</span><span class="token punctuation">:</span> <span class="token number">1499658569</span><span class="token punctuation">,</span>
        <span class="token string">"req_params_form"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
            <span class="token punctuation">{</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"uid"</span><span class="token punctuation">,</span>
                <span class="token string">"value"</span><span class="token punctuation">:</span> <span class="token string">"100"</span><span class="token punctuation">,</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token string">"5962f94940a7a5767088fcc0"</span>
            <span class="token punctuation">}</span><span class="token punctuation">,</span>
            <span class="token punctuation">{</span>
                <span class="token string">"name"</span><span class="token punctuation">:</span> <span class="token string">"gid"</span><span class="token punctuation">,</span>
                <span class="token string">"value"</span><span class="token punctuation">:</span> <span class="token string">"1001"</span><span class="token punctuation">,</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token string">"5962f94940a7a5767088fcbf"</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">]</span><span class="token punctuation">,</span>
        <span class="token string">"req_headers"</span><span class="token punctuation">:</span> <span class="token punctuation">[</span>
            <span class="token punctuation">{</span>
                <span class="token string">"value"</span><span class="token punctuation">:</span> <span class="token string">"t"</span><span class="token punctuation">,</span>
                <span class="token string">"_id"</span><span class="token punctuation">:</span> <span class="token string">"5962f94940a7a5767088fcc1"</span>
            <span class="token punctuation">}</span>
        <span class="token punctuation">]</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-interface-get" class="page-header subject">
            /interface/get
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-interface-get">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        添加项目分组
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interface.js.html#191" target="_blank">./server/controllers/interface.js:191</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>接口id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">.</span><span class="token operator">/</span>api<span class="token operator">/</span><span class="token keyword">interface</span><span class="token operator">/</span><span class="token keyword">get</span><span class="token punctuation">.</span>json</code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-interface-list" class="page-header subject">
            /interface/list
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-interface-list">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        接口列表
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interface.js.html#234" target="_blank">./server/controllers/interface.js:234</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>project_id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">.</span><span class="token operator">/</span>api<span class="token operator">/</span><span class="token keyword">interface</span><span class="token operator">/</span>list<span class="token punctuation">.</span>json</code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-interface-up" class="page-header subject">
            /interface/up
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-interface-up">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        编辑接口
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interface.js.html#332" target="_blank">./server/controllers/interface.js:332</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>接口id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>path</td>
                <td>String</td>
                <td>接口请求路径</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>method</td>
                <td>String</td>
                <td>请求方式</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers</td>
                <td>Array</td>
                <td>请求的header信息</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers[].name</td>
                <td>String</td>
                <td>请求的header信息名</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers[].value</td>
                <td>String</td>
                <td>请求的header信息值</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers[].required</td>
                <td>Boolean</td>
                <td>是否是必须，默认为否</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers[].desc</td>
                <td>String</td>
                <td>header描述</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_type</td>
                <td>String</td>
                <td>请求参数方式，有["form", "json", "text", "xml"]四种</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_form</td>
                <td>Mixed</td>
                <td>请求参数,如果请求方式是form，参数是Array数组，其他格式请求参数是字符串</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_form[].name</td>
                <td>String</td>
                <td>请求参数名</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_form[].value</td>
                <td>String</td>
                <td>请求参数值，可填写生成规则（mock）。如@email，随机生成一条email</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_form[].type</td>
                <td>String</td>
                <td>请求参数类型，有["text", "file"]两种</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_other</td>
                <td>String</td>
                <td>非form类型的请求参数可保存到此字段</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>res_body_type</td>
                <td>String</td>
                <td>相应信息的数据格式，有["json", "text", "xml"]三种</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>res_body</td>
                <td>String</td>
                <td>响应信息，可填写任意字符串，如果res_body_type是json,则会调用mock功能</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>desc</td>
                <td>String</td>
                <td>接口描述</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"n"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"nModified"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"ok"</span><span class="token punctuation">:</span> <span class="token number">1</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-interface-del" class="page-header subject">
            /interface/del
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-interface-del">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        删除接口
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interface.js.html#541" target="_blank">./server/controllers/interface.js:541</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>Number</td>
                <td>接口id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">{</span>
    <span class="token string">"errcode"</span><span class="token punctuation">:</span> <span class="token number">0</span><span class="token punctuation">,</span>
    <span class="token string">"errmsg"</span><span class="token punctuation">:</span> <span class="token string">"success"</span><span class="token punctuation">,</span>
    <span class="token string">"data"</span><span class="token punctuation">:</span> <span class="token punctuation">{</span>
        <span class="token string">"n"</span><span class="token punctuation">:</span> <span class="token number">1</span><span class="token punctuation">,</span>
        <span class="token string">"ok"</span><span class="token punctuation">:</span> <span class="token number">1</span>
    <span class="token punctuation">}</span>
<span class="token punctuation">}</span></code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-interface-getCatMenu" class="page-header subject">
            /interface/getCatMenu
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-interface-getCatMenu">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取分类列表
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interface.js.html#739" target="_blank">./server/controllers/interface.js:739</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>project_id</td>
                <td>Number</td>
                <td>项目id，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token punctuation">.</span><span class="token operator">/</span>api<span class="token operator">/</span><span class="token keyword">interface</span><span class="token operator">/</span>getCatMenu</code></pre>
    
    
</div>


<h2 id="follow" class="page-header subject">follow<a class="hashlink" href="#follow">#</a></h2>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-follow-list" class="page-header subject">
            /follow/list
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-follow-list">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取关注项目列表
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/follow.js.html#12" target="_blank">./server/controllers/follow.js:12</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>page</td>
                <td>Number</td>
                <td>分页页码</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>limit</td>
                <td>Number</td>
                <td>分页大小</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token operator">/</span>follow<span class="token operator">/</span>list</code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-follow-del" class="page-header subject">
            /follow/del
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-follow-del">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        取消关注
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/follow.js.html#46" target="_blank">./server/controllers/follow.js:46</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>projectid</td>
                <td>Number</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token operator">/</span>follow<span class="token operator">/</span>del</code></pre>
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-follow-add" class="page-header subject">
            /follow/add
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-follow-add">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        添加关注
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/follow.js.html#78" target="_blank">./server/controllers/follow.js:78</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>projectid</td>
                <td>Number</td>
                <td>项目id</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>projectname</td>
                <td>String</td>
                <td>项目名</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>icon</td>
                <td>String</td>
                <td>项目icon</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token operator">/</span>follow<span class="token operator">/</span>add</code></pre>
    
    
</div>


<h2 id="col" class="page-header subject">col<a class="hashlink" href="#col">#</a></h2>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-col-list" class="page-header subject">
            /col/list
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-col-list">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取所有接口集
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interfaceCol.js.html#17" target="_blank">./server/controllers/interfaceCol.js:17</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>project_id</td>
                <td>String</td>
                <td>email名称，不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-col-add_col" class="page-header subject">
            /col/add_col
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-col-add_col">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        增加接口集
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interfaceCol.js.html#48" target="_blank">./server/controllers/interfaceCol.js:48</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>project_id</td>
                <td>Number</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>name</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>desc</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-col-case_list" class="page-header subject">
            /col/case_list
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-col-case_list">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取一个接口集下的所有的接口用例
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interfaceCol.js.html#106" target="_blank">./server/controllers/interfaceCol.js:106</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>col_id</td>
                <td>String</td>
                <td>接口集id</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-col-add_case" class="page-header subject">
            /col/add_case
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-col-add_case">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        增加一个接口用例
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interfaceCol.js.html#164" target="_blank">./server/controllers/interfaceCol.js:164</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>casename</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>col_id</td>
                <td>Number</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>project_id</td>
                <td>Number</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>domain</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>path</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>method</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_query</td>
                <td>Object</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers</td>
                <td>Object</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_type</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_form</td>
                <td>Array</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_other</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-col-up_case" class="page-header subject">
            /col/up_case
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-col-up_case">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        更新一个接口用例
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interfaceCol.js.html#306" target="_blank">./server/controllers/interfaceCol.js:306</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id</td>
                <td>number</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>casename</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>domain</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>path</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>method</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_query</td>
                <td>Object</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_headers</td>
                <td>Object</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_type</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_form</td>
                <td>Array</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>req_body_other</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-col-case" class="page-header subject">
            /col/case
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-col-case">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取一个接口用例详情
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interfaceCol.js.html#371" target="_blank">./server/controllers/interfaceCol.js:371</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>caseid</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-col-up_col" class="page-header subject">
            /col/up_col
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-col-up_col">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        更新一个接口集name或描述
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interfaceCol.js.html#438" target="_blank">./server/controllers/interfaceCol.js:438</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>name</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>desc</td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-col-up_col_index" class="page-header subject">
            /col/up_col_index
            
            <span class="ui-badge">POST</span>
            
            
            <a class="hashlink" href="#-col-up_col_index">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        更新多个接口case index
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interfaceCol.js.html#482" target="_blank">./server/controllers/interfaceCol.js:482</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>id, index</td>
                <td>Array</td>
                <td></td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-col-del_col" class="page-header subject">
            /col/del_col
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-col-del_col">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        删除一个接口集
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/interfaceCol.js.html#514" target="_blank">./server/controllers/interfaceCol.js:514</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td></td>
                <td>String</td>
                <td></td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    
</div>


<h2 id="log" class="page-header subject">log<a class="hashlink" href="#log">#</a></h2>

<div class="con-list-item">
    <blockquote class="api">
        <h3 id="-log-list" class="page-header subject">
            /log/list
            
            <span class="ui-badge">GET</span>
            
            
            <a class="hashlink" href="#-log-list">#</a>
        </h3>
    </blockquote>
    <p>
        <small class="text-muted">描述:</small>
        获取动态列表
    </p>
    
    <p>
        <small class="text-muted">源码位置:</small>
        <a href="./static/server/controllers/log.js.html#14" target="_blank">./server/controllers/log.js:14</a>
    </p>
    
    
    <p>
        <small class="text-muted">参数:</small>
    </p>
    <div class="docs-table">
        <table class="yo-table yo-table-border">
            <colgroup>
                <col class="c1">
                <col class="c2">
                <col class="c3">
                <col class="c4">
            </colgroup>
            <thead>
                <tr class="active">
                    <th>参数名</th>
                    <th>类型</th>
                    <th>描述</th>
                    <th>必选</th>
                    <th>支持版本</th>
                </tr>
            </thead>
            
            <tr>
                <td>typeid</td>
                <td>Number</td>
                <td>动态类型id， 不能为空</td>
                <td>
                    
                    <i class="yo-ico glyphicon glyphicon-ok text-success"></i>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>page</td>
                <td>Number</td>
                <td>分页页码</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
            <tr>
                <td>limit</td>
                <td>Number</td>
                <td>分页大小</td>
                <td>
                    
                </td>
                <td></td>
            </tr>
            
        </table>
    </div>
    
    
    <div>示例：</div>
    <pre class="ydoc-example" data-foldnumber=10><code class="js-code"><span class="token operator">/</span>log<span class="token operator">/</span>list</code></pre>
    
    
</div>


</div>

                    </div>
                </div>
                 
            </div>
            
        </div>
        
        <footer class="footer">
            <div class="copyright">
                &copy; 2017 <a href="https://github.com/ymfe">YMFE</a> Team. Build by <a href="http://ued.qunar.com/ydoc/">ydoc</a>&nbsp;
            </div>
        </footer>
    </div>

    
    <div class="open-panel"></div>
    <div class="mask"></div>
     

    <script src="source/main.js"></script>
    <script src="source/app.js"></script>
        

    </body>

</html>
